package com.cloudbroker.bcs.csvc.lightinvesting.api.entity;

import java.io.Serializable;

/**
 * Created by fangyf18371 on 2016/8/1.
 * 用户已签约达人返回结果实体
 */
public class ComuserSignQry implements Serializable{
    protected String position_str;//	C100
    protected String user_type;//	C1
    protected String adviser_id;//	C18
    protected String client_name;//	C14
    protected Long collect_num;//	N10
    protected Long sign_num;//	N10
    protected Double income_ratio;//	N14.13
    protected Double success_rate;//	N9.8


    protected Long begin_date;//	N8	起始日期
    protected Long end_date;//	N8	到期日期
    protected Long  create_date;//	N8	创建日期
    protected String  comfare_mode;//	C1	费用模式
    protected String  verify_status;//	C1	审核状态
    protected String   adviser_type;//	C1	投顾类型
    protected String branch_name;//	C32	机构名称
    protected String combi_code;//	C32	组合代码
    protected String combi_name;//	C64	组合名称
    protected String background_info;//	C255	背景介绍

    protected String en_cominvest_style;//	C500	投资风格字符串
    protected String invest_strategy;//	C500	投资策略
    protected String invest_strategy_oview;//	C500	投资策略概述

    public String getInvest_strategy_oview() {
        return invest_strategy_oview;
    }

    public void setInvest_strategy_oview(String invest_strategy_oview) {
        this.invest_strategy_oview = invest_strategy_oview;
    }

    public String getEn_cominvest_style() {
        return en_cominvest_style;
    }

    public void setEn_cominvest_style(String en_cominvest_style) {
        this.en_cominvest_style = en_cominvest_style;
    }

    public String getInvest_strategy() {
        return invest_strategy;
    }

    public void setInvest_strategy(String invest_strategy) {
        this.invest_strategy = invest_strategy;
    }

    public String getBranch_name() {
        return branch_name;
    }

    public void setBranch_name(String branch_name) {
        this.branch_name = branch_name;
    }

    public String getCombi_code() {
        return combi_code;
    }

    public void setCombi_code(String combi_code) {
        this.combi_code = combi_code;
    }

    public String getCombi_name() {
        return combi_name;
    }

    public void setCombi_name(String combi_name) {
        this.combi_name = combi_name;
    }

    public String getBackground_info() {
        return background_info;
    }

    public void setBackground_info(String background_info) {
        this.background_info = background_info;
    }

    public String getPosition_str() {
        return position_str;
    }

    public void setPosition_str(String position_str) {
        this.position_str = position_str;
    }

    public String getUser_type() {
        return user_type;
    }

    public void setUser_type(String user_type) {
        this.user_type = user_type;
    }

    public String getAdviser_id() {
        return adviser_id;
    }

    public void setAdviser_id(String adviser_id) {
        this.adviser_id = adviser_id;
    }

    public String getClient_name() {
        return client_name;
    }

    public void setClient_name(String client_name) {
        this.client_name = client_name;
    }

    public Long getCollect_num() {
        return collect_num;
    }

    public void setCollect_num(Long collect_num) {
        this.collect_num = collect_num;
    }

    public Long getSign_num() {
        return sign_num;
    }

    public void setSign_num(Long sign_num) {
        this.sign_num = sign_num;
    }

    public Double getIncome_ratio() {
        return income_ratio;
    }

    public void setIncome_ratio(Double income_ratio) {
        this.income_ratio = income_ratio;
    }

    public Double getSuccess_rate() {
        return success_rate;
    }

    public void setSuccess_rate(Double success_rate) {
        this.success_rate = success_rate;
    }

    public Long getBegin_date() {
        return begin_date;
    }

    public void setBegin_date(Long begin_date) {
        this.begin_date = begin_date;
    }

    public Long getEnd_date() {
        return end_date;
    }

    public void setEnd_date(Long end_date) {
        this.end_date = end_date;
    }

    public Long getCreate_date() {
        return create_date;
    }

    public void setCreate_date(Long create_date) {
        this.create_date = create_date;
    }

    public String getComfare_mode() {
        return comfare_mode;
    }

    public void setComfare_mode(String comfare_mode) {
        this.comfare_mode = comfare_mode;
    }

    public String getVerify_status() {
        return verify_status;
    }

    public void setVerify_status(String verify_status) {
        this.verify_status = verify_status;
    }

    public String getAdviser_type() {
        return adviser_type;
    }

    public void setAdviser_type(String adviser_type) {
        this.adviser_type = adviser_type;
    }


    @Override
    public boolean equals(Object obj) {
        System.out.println(obj.toString());
        System.out.println(this.getAdviser_id());
        System.out.println(obj instanceof String);
        if(obj instanceof String){
            String leader_id = obj.toString();
            if(leader_id.equals(this.getAdviser_id())){
                return true;
            }else {
                return false;
            }
        }
        return false;
    }
}
